package com.ddx.service;

import com.ddx.pojo.ShortVideo;
import com.ddx.pojo.ShortVideoComment;
import com.ddx.pojo.ShortVideoComplaint;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author dudianbo
 * @ClassName: ${CLASSNAME}
 * @Description: ${DESCRIPTION}
 * @date 2019/1/13
 */
@Service
public interface ICommentService {

    public Map<String,Object> commentList(Integer videoId,String userId);

    public void uploadComment(ShortVideoComment shortVideoComment) throws Exception;

    public void commentThumbsUp(ShortVideoComment shortVideoComment) throws Exception;

    public void videoThumbsUp(ShortVideo shortVideo) throws Exception;

    public Map<String,Object> newsRecord(Integer userId) throws Exception;

    public void complaint(ShortVideoComplaint shortVideoComplaint) throws Exception;

    public Map<String,Object> myComplaint(Integer userId) throws Exception;
}
